﻿using System.Web.Mvc;
using fmtx.Utility;

namespace website.Areas.Tool
{
    public class ToolAreaRegistration : AreaRegistrationOrder
    {
        public override string AreaName
        {
            get
            {
                return "Tool";
            }
        }

        public override void RegisterAreaOrder(AreaRegistrationContext context)
        {
            context.MapRoute(
                "Tool_default",
                "Tool/{controller}/{action}/{id}",
                new { action = "Index", id = UrlParameter.Optional }
            );
        }

        public override int Order
        {
            get { return 0; }
        }
    }
}
